/**
* @author sunke
* @Date 2023-10-04 23:10:34
* @description 简历附件
*/
package cn.jobstart.model;

import cn.jobstart.pubInter.BaseTimeDoMain;
import javax.validation.constraints.*;
import org.hibernate.validator.constraints.Length;

public class ResumeBasicAttach extends BaseTimeDoMain {
    /**
     * 排序
     */
    private Integer sortNum = 0;

    /**
     * 是否显示
     * 1:是:Y,0:否:N
     */
    private Integer showFlag = 1;

    /**
     * 是否删除
     * 1:删除:Y,0:正常:N
     */
    private Integer delFlag = 0;

    /**
     * 版本
     */
    private Integer version;

    /**
     * 简历ID
     */
    @Length(max=32,message="简历ID长度最大值32")
    private String resumeBasicId;

    /**
     * 用户ID
     */
    @Length(max=32,message="用户ID长度最大值32")
    private String personId;

    /**
     * 附件
     */
    @Length(max=200,message="附件长度最大值200")
    private String file;

     /**
     *主键
     */
    public static final String ID = "resume_basic_attach.rba_id";

     /**
     *创建时间
     */
    public static final String CREATE_TIME = "resume_basic_attach.rba_create_time";

     /**
     *更新时间
     */
    public static final String UPDATE_TIME = "resume_basic_attach.rba_update_time";

     /**
     *排序
     */
    public static final String SORT_NUM = "resume_basic_attach.rba_sort_num";

     /**
     *是否显示
     */
    public static final String SHOW_FLAG = "resume_basic_attach.rba_show_flag";

     /**
     *是否删除
     */
    public static final String DEL_FLAG = "resume_basic_attach.rba_del_flag";

     /**
     *版本
     */
    public static final String VERSION = "resume_basic_attach.rba_version";

     /**
     *简历ID
     */
    public static final String RESUME_BASIC_ID = "resume_basic_attach.rba_resume_basic_id";

     /**
     *用户ID
     */
    public static final String PERSON_ID = "resume_basic_attach.rba_person_id";

     /**
     *附件
     */
    public static final String FILE = "resume_basic_attach.rba_file";

     /**
     *填充detail key
     */
    public static final String RESUME_BASIC_ATTACH_FULL_DETAIL_KEY = "RESUME_BASIC_ATTACH_FULL_DETAIL";

     /**
     *填充list key
     */
    public static final String RESUME_BASIC_ATTACH_FULL_LIST_KEY = "RESUME_BASIC_ATTACH_FULL_LIST";

    /**
     * 获取排序
     *
     * @return rba_sort_num - 排序
     */
    public Integer getSortNum() {
        return sortNum;
    }

    /**
     * 设置排序
     *
     * @param sortNum 排序
     */
    public ResumeBasicAttach setSortNum(Integer sortNum) {
        this.sortNum = sortNum;
        return this;
    }

    /**
     * 获取是否显示
     *
     * @return rba_show_flag - 是否显示
     */
    public Integer getShowFlag() {
        return showFlag;
    }

    /**
     * 设置是否显示
     * 1:是:Y,0:否:N
     *
     * @param showFlag 是否显示
     */
    public ResumeBasicAttach setShowFlag(Integer showFlag) {
        this.showFlag = showFlag;
        return this;
    }

    /**
     * 获取是否删除
     *
     * @return rba_del_flag - 是否删除
     */
    public Integer getDelFlag() {
        return delFlag;
    }

    /**
     * 设置是否删除
     * 1:删除:Y,0:正常:N
     *
     * @param delFlag 是否删除
     */
    public ResumeBasicAttach setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
        return this;
    }

    /**
     * 获取版本
     *
     * @return rba_version - 版本
     */
    public Integer getVersion() {
        return version;
    }

    /**
     * 设置版本
     *
     * @param version 版本
     */
    public ResumeBasicAttach setVersion(Integer version) {
        this.version = version;
        return this;
    }

    /**
     * 获取简历ID
     *
     * @return rba_resume_basic_id - 简历ID
     */
    public String getResumeBasicId() {
        return resumeBasicId;
    }

    /**
     * 设置简历ID
     *
     * @param resumeBasicId 简历ID
     */
    public ResumeBasicAttach setResumeBasicId(String resumeBasicId) {
        this.resumeBasicId = resumeBasicId == null ? null : resumeBasicId.trim();
        return this;
    }

    /**
     * 获取用户ID
     *
     * @return rba_person_id - 用户ID
     */
    public String getPersonId() {
        return personId;
    }

    /**
     * 设置用户ID
     *
     * @param personId 用户ID
     */
    public ResumeBasicAttach setPersonId(String personId) {
        this.personId = personId == null ? null : personId.trim();
        return this;
    }

    /**
     * 获取附件
     *
     * @return rba_file - 附件
     */
    public String getFile() {
        return file;
    }

    /**
     * 设置附件
     *
     * @param file 附件
     */
    public ResumeBasicAttach setFile(String file) {
        this.file = file == null ? null : file.trim();
        return this;
    }
}